/**
 * 
 */
package client.event;

import java.util.EventObject;

import client.net.SessionManager;

/**
 * @author primianoc
 *
 */
public class NewDataReceivedEvent extends EventObject
{

	private String _streamName = null;
	private int _streamLength = 0;
	private int _fileLength = 0;
	private int _startTime;


	/**
	 * @return the _startTime
	 */
	public int getStartTime()
	{
		return _startTime;
	}

	/**
	 * @return the _streamName
	 */
	public String getStreamName()
	{
		return _streamName;
	}

	/**
	 * @return the _streamLength
	 */
	public int getStreamLength()
	{
		return _streamLength;
	}


	/**
	 * @return the _fileLength
	 */
	public int getFileLength()
	{
		return _fileLength;
	}

	public NewDataReceivedEvent(SessionManager source, String streamName, 
			int streamLength, int fileLength , int startTime)
	{
		super(source);
		_streamName = streamName;
		_streamLength = streamLength;
		_fileLength = fileLength;
		_startTime = startTime;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

}
